package com.order.server.mapper;

import com.order.server.model.OrderInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface OrderMapper {

    @Select("select * from order_detail where id = #{orderId};")
    OrderInfo getById(Integer orderId);
}
